package com.flanz.apache.velocity.uimocker;

import org.apache.velocity.app.event.ReferenceInsertionEventHandler;

/**
 * MyReferenceInsertionEventHandler.
 * 
 * @author cf
 * 
 */

public class MyReferenceInsertionEventHandler
		implements
			ReferenceInsertionEventHandler {

	@Override
	public Object referenceInsert(String paramString, Object paramObject) {
		String value = paramObject != null ? paramObject.toString() : "NULL";
		System.out.println(paramString + "=" + value);
		return value;
	}

}
